package com.zhulanhua.blogs.controller.params;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
public class LoginParams implements Serializable {
    @NotBlank(message = "用户名不能为空")
    String userName;//用户名
    @NotBlank(message = "密码不能为空")
    String password;//密码
}
